#include "socket.hpp"
#include <sys/types.h>
#include <sys/wait.h>

using namespace std;

#define NUM 5

void Usage(const char *filename) {
    cout << "Usage: " << filename << " <ip> <port>" << endl;
    exit(1);
}

void task(int x) {
    cout << "child process " << x << " started: ";
    for(int i = 0; i <= x; ++i) {
        cout << i << " ";
    }
    cout << endl;
}

int main(int argc, char *argv[]) {
    if(argc != 3) {
        Usage(argv[0]);
    }
    string server_ip = argv[1];
    uint16_t server_port = atoi(argv[2]);
    Socket sock;
    sock.socket();
    sock.connect(server_ip, server_port);
    return 0;
}